Optimal. Leaf size=205 \[ -\frac{\left (-8 a^2 d^3 e+12 a b c d^2 e-b^2 c^2 (c f+3 d e)\right ) \tan ^{-1}\left (\frac{\sqrt{d} \sqrt{a+b x}}{\sqrt{b c-a d}}\right )}{4 c^3 d^{3/2} (b c-a d)^{3/2}}-\frac{2 \sqrt{a} e \tanh ^{-1}\left (\frac{\sqrt{a+b x}}{\sqrt{a}}\right )}{c^3}-\frac{\sqrt{a+b x} \left (4 a d^2 e-b c (c f+3 d e)\right )}{4 c^2 d (c+d x) (b c-a d)}+\frac{\sqrt{a+b x} (d e-c f)}{2 c d (c+d x)^2} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.814517, antiderivative size = 205, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 6, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.24 \[ -\frac{\left (-8 a^2 d^3 e+12 a b c d^2 e-b^2 c^2 (c f+3 d e)\right ) \tan ^{-1}\left (\frac{\sqrt{d} \sqrt{a+b x}}{\sqrt{b c-a d}}\right )}{4 c^3 d^{3/2} (b c-a d)^{3/2}}-\frac{2 \sqrt{a} e \tanh ^{-1}\left (\frac{\sqrt{a+b x}}{\sqrt{a}}\right )}{c^3}-\frac{\sqrt{a+b x} \left (4 a d^2 e-b c (c f+3 d e)\right )}{4 c^2 d (c+d x) (b c-a d)}+\frac{\sqrt{a+b x} (d e-c f)}{2 c d (c+d x)^2} \]
Antiderivative was successfully verified.
[In] Int[(Sqrt[a + b*x]*(e + f*x))/(x*(c + d*x)^3),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 84.9888, size = 189, normalized size = 0.92 \[ - \frac{2 \sqrt{a} e \operatorname{atanh}{\left (\frac{\sqrt{a + b x}}{\sqrt{a}} \right )}}{c^{3}} - \frac{\sqrt{a + b x} \left (c f - d e\right )}{2 c d \left (c + d x\right )^{2}} + \frac{\sqrt{a + b x} \left (4 a d^{2} e - b c \left (c f + 3 d e\right )\right )}{4 c^{2} d \left (c + d x\right ) \left (a d - b c\right )} + \frac{\left (8 a^{2} d^{3} e - 12 a b c d^{2} e + b^{2} c^{3} f + 3 b^{2} c^{2} d e\right ) \operatorname{atanh}{\left (\frac{\sqrt{d} \sqrt{a + b x}}{\sqrt{a d - b c}} \right )}}{4 c^{3} d^{\frac{3}{2}} \left (a d - b c\right )^{\frac{3}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((f*x+e)*(b*x+a)**(1/2)/x/(d*x+c)**3,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.562576, size = 180, normalized size = 0.88 \[ \frac{\frac{\left (8 a^2 d^3 e-12 a b c d^2 e+b^2 c^2 (c f+3 d e)\right ) \tanh ^{-1}\left (\frac{\sqrt{d} \sqrt{a+b x}}{\sqrt{a d-b c}}\right )}{d^{3/2} (a d-b c)^{3/2}}+\frac{c \sqrt{a+b x} \left (\frac{(c+d x) \left (b c (c f+3 d e)-4 a d^2 e\right )}{b c-a d}+2 c (d e-c f)\right )}{d (c+d x)^2}-8 \sqrt{a} e \tanh ^{-1}\left (\frac{\sqrt{a+b x}}{\sqrt{a}}\right )}{4 c^3} \]
Antiderivative was successfully verified.
[In] Integrate[(Sqrt[a + b*x]*(e + f*x))/(x*(c + d*x)^3),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.024, size = 221, normalized size = 1.1 \[ 2\,{b}^{2} \left ( -{\frac{e\sqrt{a}}{{c}^{3}{b}^{2}}{\it Artanh} \left ({\frac{\sqrt{bx+a}}{\sqrt{a}}} \right ) }-{\frac{1}{{c}^{3}{b}^{2}} \left ({\frac{1}{ \left ( \left ( bx+a \right ) d-ad+bc \right ) ^{2}} \left ( -1/8\,{\frac{bc \left ( 4\,a{d}^{2}e-b{c}^{2}f-3\,bcde \right ) \left ( bx+a \right ) ^{3/2}}{ad-bc}}+1/8\,{\frac{ \left ( 4\,a{d}^{2}e+b{c}^{2}f-5\,bcde \right ) bc\sqrt{bx+a}}{d}} \right ) }-1/8\,{\frac{8\,{a}^{2}{d}^{3}e-12\,abc{d}^{2}e+{b}^{2}{c}^{3}f+3\,{b}^{2}{c}^{2}de}{ \left ( ad-bc \right ) d\sqrt{ \left ( ad-bc \right ) d}}{\it Artanh} \left ({\frac{\sqrt{bx+a}d}{\sqrt{ \left ( ad-bc \right ) d}}} \right ) } \right ) } \right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((f*x+e)*(b*x+a)^(1/2)/x/(d*x+c)^3,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(b*x + a)*(f*x + e)/((d*x + c)^3*x),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.937992, size = 1, normalized size = 0. \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(b*x + a)*(f*x + e)/((d*x + c)^3*x),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((f*x+e)*(b*x+a)**(1/2)/x/(d*x+c)**3,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.222982, size = 406, normalized size = 1.98 \[ \frac{{\left (b^{2} c^{3} f + 3 \, b^{2} c^{2} d e - 12 \, a b c d^{2} e + 8 \, a^{2} d^{3} e\right )} \arctan \left (\frac{\sqrt{b x + a} d}{\sqrt{b c d - a d^{2}}}\right )}{4 \,{\left (b c^{4} d - a c^{3} d^{2}\right )} \sqrt{b c d - a d^{2}}} + \frac{2 \, a \arctan \left (\frac{\sqrt{b x + a}}{\sqrt{-a}}\right ) e}{\sqrt{-a} c^{3}} - \frac{\sqrt{b x + a} b^{3} c^{3} f -{\left (b x + a\right )}^{\frac{3}{2}} b^{2} c^{2} d f - \sqrt{b x + a} a b^{2} c^{2} d f - 5 \, \sqrt{b x + a} b^{3} c^{2} d e - 3 \,{\left (b x + a\right )}^{\frac{3}{2}} b^{2} c d^{2} e + 9 \, \sqrt{b x + a} a b^{2} c d^{2} e + 4 \,{\left (b x + a\right )}^{\frac{3}{2}} a b d^{3} e - 4 \, \sqrt{b x + a} a^{2} b d^{3} e}{4 \,{\left (b c^{3} d - a c^{2} d^{2}\right )}{\left (b c +{\left (b x + a\right )} d - a d\right )}^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(b*x + a)*(f*x + e)/((d*x + c)^3*x),x, algorithm="giac")
[Out]